.PHONY = all clean
CFLAGS += -ggdb -O0 -Wall

all: server client

%.o: %.cc
	$(CXX) $(CFLAGS) $< -c -o $@

server: server.o
	$(CXX) $(CFLAGS) $< -o $@

client: client.o 
	$(CXX) $(CFLAGS) $< -o $@

clean: 
	rm -f server.o client.o
	rm -f server client
	